<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="__STATIC__/admin/css/font.css">
<link rel="stylesheet" href="__STATIC__/admin/css/xadmin.css">
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="__STATIC__/admin/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="__STATIC__/admin/js/xadmin.js"></script>
<script type="text/javascript" src="__STATIC__/admin/js/ykp.js"></script>
<script type="text/javascript" src="__STATIC__/admin/js/public.js"></script>
<div class="x-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class="layui-this">审核详细</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/finance/update')}" method="post">
                    {:token()}
                    <input type="hidden" name="id" value="{$finance_data.id}">

                    <div class="layui-form-item">
                        <label class="layui-form-label">申请人</label>
                        <div class="layui-input-block">
                            <input type="text" name="username" value="{$finance_data.username}" disabled
                                   placeholder="请输入审核名称(限制12字)" class="layui-input">
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <label class="layui-form-label">选择的银行和绑定的银行</label>
                        <div class="layui-input-block">
                            <input type="text" name="bank_status" value="{$finance_data.bank_status}" disabled
                                   placeholder="请输入银行卡对应编码" class="layui-input">
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <label class="layui-form-label">电话</label>
                        <div class="layui-input-block">
                            <input type="text" name="mobile" value="{$finance_data.mobile}" disabled
                                   placeholder="请输入起拍价格" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">身份证号码</label>
                        <div class="layui-input-block">
                            <input type="text" name="ID_card" value="{$finance_data.ID_card}" disabled
                                   placeholder="请输入加价幅度" class="layui-input">
                        </div>
                    </div>



                    <div class="layui-form-item">
                        <label class="layui-form-label">申请时间</label>
                        <div class="layui-input-block">
                            <input type="text" name="apply_time" value="{$finance_data.apply_time}" disabled
                                   placeholder="请输入市场价" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">进度</label>
                        <div class="layui-progress layui-progress" lay-filter="demo" lay-showPercent="true" style="width: 70%; float: left;
    margin-top: 17px;">
                            <div class="layui-progress-bar" lay-percent="{$finance_data.percent}"></div>
                        </div>
                    </div>




                    <div class="layui-form-item">
                        <label class="layui-form-label">广告主充值</label>
                        <table class="layui-table" lay-even="" lay-skin="row">
                            <colgroup>
                                <col width="150">
                                <col width="150">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>省份</th>
                                <th>城市</th>
                                <th>姓名</th>
                                <th>手机号码</th>
                                <th>充值金额</th>
                                <th>余额</th>

                            </tr>
                            </thead>
                            <tbody>
                            {foreach $result as $vo}
                            <tr>
                                <td>{$vo.province_name}</td>
                                <td>{$vo.city_name}</td>
                                <td>{$vo.true_name}</td>
                                <td>{$vo.phone}</td>
                                <td>{$vo.money}</td>
                                <td>{$vo.origin_money}</td>
                            </tr>
                            {/foreach}
                            </tbody>
                        </table>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">自媒体收入</label>
                        <table class="layui-table" lay-even="" lay-skin="row">
                            <colgroup>
                                <col width="150">
                                <col width="150">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>平台</th>
                                <th>收入</th>

                            </tr>
                            </thead>
                            <tbody>
                            {foreach $weMediaIncome as $vo}
                            <tr>
                                <td>{$vo.channel}</td>
                                <td>{$vo.money_sum}</td>
                            </tr>
                            {/foreach}
                            </tbody>
                        </table>
                    </div>


                    <div class="layui-form-item">
                    <label class="layui-form-label">意见详细</label>
                    <table class="layui-table" lay-even="" lay-skin="row">
                    <colgroup>
                    <col width="150">
                    <col width="150">
                    <col width="200">
                    <col>
                    </colgroup>
                    <thead>
                    <tr>
                    <th>审核人</th>
                    <th>意见</th>

                    </tr>
                    </thead>
                    <tbody>
                    {foreach $finance_data['suggest'] as $vo}
                    <tr>
                    <td>{$vo.check_name}</td>
                    <td>{$vo.suggest}</td>
                    </tr>
                    {/foreach}
                    </tbody>
                    </table>
                    </div>
                    
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">意见</label>
                        <div class="layui-input-block">
                            <textarea placeholder="请输入内容" name="comment" class="layui-textarea"></textarea>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">提现金额</label>
                        <div class="layui-input-inline">
                            <input type="text" name="withdraw_money" value="{$finance_data.withdraw_money}" disabled
                                   placeholder="提现金额" class="layui-input">
                        </div><span style="line-height: 40px">元</span>
                    </div>


                    <div class="layui-form-item">
                        <label class="layui-form-label">lcb提现数量</label>
                        <div class="layui-input-inline">
                            <input type="text" name="coin" value="{$finance_data.coin}" disabled
                                   placeholder="lcb提现数量" class="layui-input">
                        </div><span style="line-height: 40px">个</span>
                    </div>


                    <div class="layui-form-item">
                        <label class="layui-form-label">扣除手续费</label>
                        <div class="layui-input-inline">
                            <input type="text" name="deduct" value="{$finance_data.deduct}" disabled
                                   placeholder="扣除手续费" class="layui-input">
                        </div><span style="line-height: 40px">元</span>
                    </div>

                    <div class="layui-form-item" id="online_time_status">
                        <label class="layui-form-label">处理</label>
                        <div class="layui-input-block">
                            <input type="radio" name="status" value="3" title="通过"  {if	condition=" $finance_data.status==3"} checked="checked"  {/if} >
                            <input type="radio" name="status" value="2" title="不通过" {if	condition=" $finance_data.status==2"} checked="checked"  {/if} >
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="">保存</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{include file="public/_footer" /}

